<?xml version="1.0" encoding="utf-8" ?>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%-- <%
	int id=Integer.parseInt(request.getParameter("id"));
	String password=request.getParameter("password");
	request.setAttribute("id", id);
	request.setAttribute("oldpwd", password);
%> --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Modify Your Password</title>
<link rel="stylesheet" type="text/css" href="js/util/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="js/util/easyui/themes/icon.css"/>

<script type="text/javascript" src="js/util/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="js/util/easyui/jquery.easyui.min.js"></script>

<script type="text/javascript" src="js/index/pwdedit.js"></script>
</head>
<body >
<form action="UserController/doPasswordEdit" method="post">
<div class="easyui-panel" style="width:500px;padding:100px 120px">
	<div id="content" style="margin-bottom:20px">
    	<input id="oldpwd" class="easyui-passwordbox" name="oldpwd"
    	data-options="required:true,validType:'number'"
    	prompt="原始密码" iconWidth="28" 
    	style="width:100%;height:34px;padding:10px"/>
    	<div style="display: inline" id="tip1"></div>  
    </div><!-- <label id="tip1"></label>  -->
    <div style="margin-bottom:20px">
    	<input id="newpwd" class="easyui-passwordbox" name="newpwd"
    	data-options="required:true,validType:'pwdcheck',rangelength:[6,18]" prompt="新密码" iconWidth="28" 
    	style="width:100%;height:34px;padding:10px"/>
    </div>
    <div style="margin-bottom:20px">
    	<input id="newpwd2" class="easyui-passwordbox" name="newpwd2"
    	data-options="required:true"
    	prompt="确认密码" iconWidth="28" 
    	style="width:100%;height:34px;padding:10px"/>
    </div>
    <input id="trueoldpwd" type="hidden" name="oldpwd" value="${oldpwd }"/>
    <input id="id" type="hidden" name="id" value="${id }"/>
    <!--  <button id="pwd_btn">提交</button> -->
    <input type="submit" value="提交"/>
   <!--   <a href="UserController/doPasswordEdit">修改</a> -->

</div>
</form>
</body>
</html>